<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>lstsize</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 2002</div>
    <p>
      <b>lstsize</b> -  list, tlist, mlist numbers of entries</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>n=lstsize(x)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>l</b>
        </tt>: a  list, tlist or mlist object</li>
      <li>
        <tt>
          <b>n</b>
        </tt>: an integer, the number of entries</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>lstsize(x)</b>
      </tt> returns the number of entries for list,
   list, mlist objects. This function is more efficient than the
   <tt>
        <b>size</b>
      </tt> function and works similarily with all list
   types while <tt>
        <b>size</b>
      </tt> is overloaded for <tt>
        <b>mlist</b>
      </tt> objects.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

lstsize(list(1,'aqsdf'))
x=ssrand(3,2,4);
[ny,nu]=size(x)
lstsize(x)
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="../strings/length.htm">
        <tt>
          <b>length</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="size.htm">
        <tt>
          <b>size</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../programming/list.htm">
        <tt>
          <b>list</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../programming/tlist.htm">
        <tt>
          <b>tlist</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../programming/mlist.htm">
        <tt>
          <b>mlist</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
